package com.example.techstudy.preresearch.Demo1.controller;

import com.example.techstudy.preresearch.Demo1.AbstractBean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: ls
 * @date: 2022/4/13
 * @description:
 */
@RestController
@RequestMapping("/bean-demo")
public class BeanDemoController {

    @GetMapping("/test")
    public void test(){
        AbstractBean bean = AbstractBean.getBean(1);
        // bean.doPlay();
    }

}
